package model;

/**
 * 功能:
 * 作者: 洪世成
 * 日期: 2017/7/27
 * 版权所有: admin
 */


public class Condition {

    private    String   column ;//列名
    private    String   operator; //操作符
    private    Object   value; //值
    private    boolean  prepared;//是否预编译

    public Condition(String column, String  operator, Object value, boolean prepared) {
        this.column = column;
        this.operator = operator;
        this.value = value;
        this.prepared=prepared;
    }
    private Condition() {
    }

    public String getColumn() {
        return column;
    }

    public String getOperator() {
        return operator;
    }

    public boolean isPrepared() {
        return prepared;
    }

    public Object getValue() {
        return value;
    }
}

